package com.hsmw.api.service;

import com.hsmw.api.mapper.HsmwReportMapper;
import com.hsmw.api.mapper.HsmwRequestVehicleMapper;
import com.hsmw.common.base.BaseService;
import com.hsmw.domain.HsmwOrder;
import com.hsmw.domain.HsmwReport;
import com.hsmw.domain.HsmwRequestVehicle;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


@Service
@Transactional(isolation = Isolation.REPEATABLE_READ, propagation = Propagation.REQUIRED, rollbackFor = Exception.class)
public class HsmwRequestVehicleService extends BaseService<HsmwRequestVehicleMapper, HsmwRequestVehicle> {
    @Autowired
    private HsmwRequestVehicleMapper hsmwRequestVehicleMapper;


    public void expireCancelOrderRecord() {
        hsmwRequestVehicleMapper.expireCancelOrderRecord();
    }
}
